package com.wanmait.wanmarecruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2022/11/03
*/
@Data
@TableName(value = "recruiter")
public class Recruiter implements Serializable {
    /**
     * 招聘者id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 招聘者姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 招聘者邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 招聘者电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 招聘者密码
     */
    @TableField(value = "pass")
    private String pass;

    /**
     * 招聘者性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 用户头像
     */
    @TableField(value = "face")
    private String face;

    /**
     * 招聘者任职职位
     */
    @TableField(value = "position")
    private String position;

    /**
     * 招聘者所属公司
     */
    @TableField(value = "company_id")
    private Integer companyId;

    @TableField(exist = false)
    private Company company;
    /**
     * 招聘者任职工龄
     */
    @TableField(value = "working_years")
    private Integer workingYears;

    /**
     * 用户状态
     */
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_NAME = "name";

    public static final String COL_EMAIL = "email";

    public static final String COL_PHONE = "phone";

    public static final String COL_PASS = "pass";

    public static final String COL_SEX = "sex";

    public static final String COL_FACE = "face";

    public static final String COL_POSITION = "position";

    public static final String COL_COMPANY_ID = "company_id";

    public static final String COL_WORKING_YEARS = "working_years";

    public static final String COL_ENABLE = "enable";
}